projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0775b0a
)
quartz: Get size from wrapper, not drawable
author
Kristian Rietveld
<kris@gtk.org>
Wed, 15 Sep 2010 09:36:13 +0000
(11:36 +0200)
committer
Benjamin Otte
<otte@redhat.com>
Sun, 26 Sep 2010 13:11:34 +0000
(15:11 +0200)
gdk/quartz/gdkdrawable-quartz.c
patch
|
blob
|
history
diff --git
a/gdk/quartz/gdkdrawable-quartz.c
b/gdk/quartz/gdkdrawable-quartz.c
index 4dbce4b049993839f4f8b3f79533ca8f95d80202..e9ccc560b0f633a6f97f52eb56522416524db8cd 100644
(file)
--- a/
gdk/quartz/gdkdrawable-quartz.c
+++ b/
gdk/quartz/gdkdrawable-quartz.c
@@
-96,7
+96,7
@@
gdk_quartz_ref_cairo_surface (GdkDrawable *drawable)
{
int width, height;
- gdk_drawable_get_size (
drawable
, &width, &height);
+ gdk_drawable_get_size (
impl->wrapper
, &width, &height);
impl->cairo_surface = gdk_quartz_create_cairo_surface (drawable,
width, height);
}